package se.teamscape.client.event;

import com.google.gwt.event.shared.GwtEvent;

public class RpcDoneEvent extends GwtEvent<RpcDoneEventHandler> {

    public static Type<RpcDoneEventHandler> TYPE = new Type<RpcDoneEventHandler>();

    public RpcDoneEvent() {
    }

    @Override
    public Type<RpcDoneEventHandler> getAssociatedType() {
        return TYPE;
    }

    @Override
    protected void dispatch(RpcDoneEventHandler handler) {
        handler.onRpcDone();
    }
}
